package com.wondertek.service.dto.app.res;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

/**
 * app报警列表
 * @author wangyu
 */
@Data
public class DeviceErrorRecordListRes {

    /*
     *报警id
     * */
    @Schema(name = "id",description = "报警id")
    private String id;

    @Schema(name = "type",description = "1:报警  2:故障 3:事件 4:通知")
    private Integer type;

    /*
     *设备名称
     * */
    @Schema(name = "deviceName",description = "设备名称")
    private String deviceName;

    /*
     *设备id
     * */
    @Schema(name = "deviceId",description = "设备id")
    private String deviceId;

    /*
     *设备类型
     * */
    @Schema(name = "deviceType",description = "1-ipc,2-网关,3-其他,99配件")
    private String deviceType;

    /*
     *报警名称
     * */
    @Schema(name = "alarmHubName",description = "报警名称")
    private String alarmHubName;

    /*
     * 报警类型
     * */
    @Schema(name = "errorType",description = "报警类型")
    private String errorType;

    /*
     * 报警状态
     * */
    @Schema(name = "status",description = "报警状态")
    private String status;

    /*
     * 报警信息
     * */
    @Schema(name = "errorMessage",description = "报警信息")
    private String errorMessage;

    /*
     * 报警时间
     * */
    @Schema(name = "errorTime",description = "报警时间")
    private Date errorTime;

    /**
     * 时分
     */
    @Schema(name = "time",description = "时分")
    private String time;

    /**
     * 分区id
     */
    @Schema(name = "roomId",description = "分区id")
    private String roomId;

    /**
     * 分区名称
     */
    @Schema(name = "roomName",description = "分区名称")
    private String roomName;

    /**
     * 点位id
     */
    @Schema(name = "siteId",description = "点位id")
    private String siteId;

    /**
     * 点位名称
     */
    @Schema(name = "siteName",description = "点位名称")
    private String siteName;

    /**
     * 是否已读 0：未读 1：已读
     */
    @Schema(name = "isRead",description = "是否已读 0：未读 1：已读")
    private String isRead;


    @Schema(name = "accessoryType",description = "1-烟感，2-无线键盘，3-室外信号，4-门磁，5-升级门磁，6-pir相机，7-智能监控相机，8-Alarm KIT")
    private String accessoryType;

    @Schema(name = "accessorySn",description = "配件sn")
    private String accessorySn;

    @Schema(name = "ipcCount",description = "关联ipc数量")
    private Integer ipcCount;
}
